<template>
  <div class="pass-word-reset-res">
    <vx-common-res
      :title-bar-arr="titleBarArr"
      title="密码重置成功"
      :res-detail="res"
      show-serial-num
      @confirm="$router.replace({ path: '/system/user' })"
    >
    </vx-common-res>
  </div>
</template>

<script>
export default {
  data() {
    return {
      titleBarArr: ['录入信息', '提交结果'],
      res: this.getData().res,
    };
  },
  /**
   * @description 离开页面清除数据
   */
  beforeDestroy() {
    this.clearData();
  },
};
</script>
